package engine.control
{
	import newx.com.config.StaticIni;

	public class ControlConfig
	{
		public var buttonLabelColor 	: int;
		
		public var comboBoxTextColor	: int;
		
		public var tableLabelColor		: int;
		public var tableTxtColor		: int;
		
		public var txtColor			: int;
		
		public var labelColor			: int;
		
		public var tabUnSeletedColor	: int;
		public var tabSeletedColor		: int;
		
		public var listTxtColor		: int;
		
		public var inputColor			: int;
		
		public var windowLabelColor	: int;
		
		public function ControlConfig()
		{
			init();
		}
		
		private function init():void
		{
			buttonLabelColor 	= parseInt(StaticIni.getIniVar("Css_control_nxButton", "labelColor"));
			
			comboBoxTextColor	= parseInt(StaticIni.getIniVar("Css_control_nxComboBox", "labelColor"));
			
			tableLabelColor		= parseInt(StaticIni.getIniVar("Css_control_nxTable", "titleColor"));
			tableTxtColor		= parseInt(StaticIni.getIniVar("Css_control_nxTable", "textColor"));
			
			txtColor			= parseInt(StaticIni.getIniVar("Css_control_nxText", "textColor"));
			
			labelColor			= parseInt(StaticIni.getIniVar("Css_control_nxLabel", "textColor"));
			
			tabUnSeletedColor	= parseInt(StaticIni.getIniVar("Css_control_nxTab", "unSeletedColor"));
			tabSeletedColor		= parseInt(StaticIni.getIniVar("Css_control_nxTab", "seletedColor"));;
			
			listTxtColor		= parseInt(StaticIni.getIniVar("Css_control_nxList", "itemColor"));
			
			inputColor			= parseInt(StaticIni.getIniVar("Css_control_nxInput", "textColor"));
			
			windowLabelColor	= parseInt(StaticIni.getIniVar("Css_control_nxWindow", "labelColor"));
		}
	}
}
